package org.neuedu.chapter07_0625.demo02;

public class Direction {
    private final String direct;
    private final String describe;

    public static final Direction EAST = new Direction("东", "东方不败");
    public static final Direction WEST = new Direction("西", "西瓜太郎");
    public static final Direction SOUTH = new Direction("南", "睿道南哥");
    public static final Direction NORTH = new Direction("北", "北方传媒");

    private Direction(String direct, String describe) {
        this.direct = direct;
        this.describe = describe;
    }

    public String getDirect() {
        return direct;
    }

    public String getDescribe() {
        return describe;
    }

    @Override
    public String toString() {
        return "Direction{" +
                "direct='" + direct + '\'' +
                ", describe='" + describe + '\'' +
                '}';
    }
}
